package com.ndp.fb.fbagent.service;


import com.ndp.fb.model.fbagent.param.serach.SearchParam;
import com.ndp.fb.model.fbagent.result.common.FBAdGeolocation;
import com.ndp.fb.model.fbagent.result.common.FBAdInterest;
import com.ndp.fb.model.fbagent.result.common.FBBroadTargetingCategorie;

import java.util.List;

/**
 * 兴趣查找
 * Created by infi on 2015/1/21.
 */
public interface SerchFBService {
     List<?> search(SearchParam searchParam);

     List<?> search(String accessToken, String locale, String q, String searchType);

     List<FBAdInterest> searchInterestList(String accessToken, String locale, String q, List<String> interestList);

     List<FBAdInterest> searchInterestListForValid(String accessToken, List<Long> ids);


    List<FBAdInterest> searchInterestList(String accessToken, String en_us, List<String> waitFilterInterests);

    List<FBAdGeolocation> searchCitys(String accessToken, String locale, String q);
    
    List<FBAdGeolocation> searchAllGeolocation(String accessToken, String locale, String q);

    <T> List<T> search(SearchParam searchParam, Class<T> resultClass);
}
